﻿using Basic.OARemoteModel;
using WeDonekRpc.Helper.Validate;

namespace Basic.OAGatewayModule.Model.UserFill
{
    public class UserFillQuery
    {
        [LenValidate("public.query.key.len", 2, 20)]
        public string QueryKey
        {
            get;
            set;
        }
        [EnumValidate("oa.emp.fill.status.error", typeof(EmpFillInStatus))]
        public EmpFillInStatus? Status
        {
            get;
            set;
        }
        [LenValidate("oa.fill.type.len", 2, 10)]
        public string FillType
        {
            get;
            set;
        }
        public DateTime? Begin
        {
            get;
            set;
        }

        public DateTime? End
        {
            get;
            set;
        }
    }
}
